From f07ae6cf67ea1f63e916b2ad24ef550f8434b0f1 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Sun, 3 Nov 2002 13:35:46 +0000 Subject: [PATCH] (single_display_prop_intangible_p): Strings are intangible. --- src/xdisp.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/xdisp.c b/src/xdisp.c index f80c3447624..28ff03b3dea 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -64,7 +64,7 @@ Boston, MA 02111-1307, USA. */ | X expose events -----+ - What does redisplay? Obviously, it has to figure out somehow what + What does redisplay do? Obviously, it has to figure out somehow what has been changed since the last time the display has been updated, and to make these changes visible. Preferably it would do that in a moderately intelligent way, i.e. fast. @@ -120,7 +120,7 @@ Boston, MA 02111-1307, USA. */ on various settings of buffers and windows, on overlays and text properties, on display tables, on selective display. The good news is that all this hairy stuff is hidden behind a small set of - interface functions taking a iterator structure (struct it) + interface functions taking an iterator structure (struct it) argument. Iteration over things to be displayed is then simple. It is @@ -3144,6 +3144,9 @@ single_display_prop_intangible_p (prop) prop = XCDR (prop); } + if (STRINGP (prop)) + return 1; + if (!CONSP (prop)) return 0; -- 2.30.2